package summer_vacation.xuqianlan;

/**
 * Created by lenovo on 2015/9/6.
 */
public class Test_37 {
    public static void main(String[] args) {
        int n=0;
        for(int i=10006;i<=100000;i=i+10){
            if(i%31==0){
                System.out.println(+i);
                n++;
            }
        }
        System.out.println(+n);
    }




}
